package com.xnf.ssmweb.service;

import com.xnf.ssmweb.domain.Role;

import java.util.List;

/**
 * Created by chendx on 2021/3/30.
 */
public interface RoleService {

    List<Role> queryRoles();

    Role queryRoleById(Long id);

    boolean saveRole(Role role);

    void savePermissionToRole(String roleId, String[] permissionIds);

    List<Role> findNoRoleList(Long userId);
}
